#include "BaseStruct.h"
#include "ShopManager.h"


void build_item_constants(psu_clothing_item &item,Binary &ItemBin)
{   
	/*
	Binary binpad;
	binpad.BytesPad(0,5);
	Binary colorbin;
	colorbin<<item.colors.element1<<item.colors.element2<<item.colors.element3;
    ItemBin<<item.appebin.appearance<<item.tm<<item.overlap<<item.gender<<colorbin<<binpad;
    */
}

ShopManager::ShopManager()
{

}

ShopManager::~ShopManager()
{

}

VOID ShopManager::GetItemList(DWORD dwShopId,Binary &ItemListBin)
{  
	//find item list 
	Binary UCS2Name;//46byte
    BYTE RarityBin = 0;
	ItemIdBin BinItemID;
    uint32 SellPrice;
	Binary DataBin;
	uint8 Count = 0;
	//fill bin 
    ItemListBin<<Count<<(uint8)2<<(uint32)0;
	//modf item bits
	for (int i = 0;i<Count;i++)
	{
        ItemListBin<<UCS2Name<<RarityBin<<(uint8)0<<BinItemID.ItemID<<SellPrice<<DataBin;
	}

}